package com.zhai.domain.activity.model.aggregate;

import com.zhai.domain.activity.model.entity.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 参与活动订单聚合对象（事务）
 * @ClassName: CreatePartakeOrderAggregate
 * @Author: zhaiyongxin
 * @Date: 2025/2/28 10:21
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreatePartakeOrderAggregate {

    private String userId;

    private Long activityId;

    private ActivityAccountEntity activityAccountEntity;

    /**
     * 是否存在月额度
     */
    private boolean isExistAccountMonth = true;

    /**
     * 月额度
     */
    private ActivityAccountMonthEntity activityAccountMonthEntity;

    private boolean isExistAccountDay = true;

    private ActivityAccountDayEntity activityAccountDayEntity;

    private UserRaffleOrderEntity userRaffleOrderEntity;
}
